package entity;

import java.util.Date;

/**
 * Syslog entity. @author MyEclipse Persistence Tools
 */

public class Syslog implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String name;
	private String value;
	private Date logTime;
	private String ip;

	// Constructors

	/** default constructor */
	public Syslog() {
	}

	/** minimal constructor */
	public Syslog(String name) {
		this.name = name;
	}

	/** full constructor */
	public Syslog(User user, String name, String value,Date logTime) {
		this.user = user;
		this.name = name;
		this.value = value;
		this.logTime = logTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

}